<template>
   <div>
       {{$hello()}}
   </div>
</template>

<script lang='ts' setup>
    const { $hello } = useNuxtApp();
    const fetchData =async ()=>{
        const { data } = await useFetch("/list",{baseURL:"http://localhost:5656"});
        console.log("111",data.value);
    };
    fetchData();
    onMounted(()=>{
        console.log("onMounted");
    });
</script>

<style scoped>
</style>
